How To Set Screen Resolution, Set Full Screen, Change Font Size & Add Anti Joy Stick To Any Java MIDlet Manually.
Procedures:
Download the attached file.
UsingMiniCommander, extract your MIDlet "app/game" to a sub folder.
UsingByteCode Editor, search for this code:
Code:
javax/microedition/lcdui/Canvas
A few.CLASSfiles will pop up, now open it one by one > Constant pool > Press "7" > Replace:
Code:
javax/microedition/lcdui/Canvaswith:
Code:
lib/Canvasthen press OK. do the same with the rest of.CLASSfiles that poped up after searching.
And also Change:
Code:
keyPressedto
Code:
keyPressee
Code:
keyReleasedto
Code:
keyReleasee
Code:
keyRepeatedto
Code:
keyRepeatee
Again usingByteCode Editor, search for this code:
Code:
javax/microedition/lcdui/Font
A few.CLASSfiles will pop up, now open it one by one > Search > Input
Code:
javax/microedition/lcdui/Font/getFont> Some methods will pop up > open them one by one and press "#" two times > Press "7" > Replace:
Code:
javax/microedition/lcdui/Font/getFontwith:
Code:
lib/Font/getFontthen press right soft key and SAVE.
Do the same with the rest of.CLASSfiles that poped up after searching.
Extractlibfolder &kavaMagic.inifile from the attached file to the sub folder where you have extracted your MIDlet.
UsingMiniCommanderhighlightkavaMagic.inifile and press "4"
Write you desired screen width next to:
Code:
screenWWrite you desired screen height next to:
Code:
screenHChangenoKeyCodeConvattribute to "false" if you wanna have Anti Joy Stick feature.
ChangeautoScreenSizeattribute to "false" if you wanna apply your desired screen resolution.
For Italic font change:
Code:
FontStyle: 0to:
Code:
FontStyle: 2
Pack all files usingMiniCommandertogether, thereafter, install your modified MIDlet and Enjoy.